package com.langsotech.studio.core.ui.pagedesigner.startup;
import org.eclipse.gef.palette.PaletteRoot;
import org.eclipse.ui.IStartup;
import com.langsotech.studio.core.ui.pagedesigner.editors.util.TagDemoAndAssistUtil;
public class DataInit implements IStartup {
	public static PaletteRoot _palette_static;
	public void earlyStartup() {
		if (TagDemoAndAssistUtil.demoFile.size() == 0)
			try {
				(new TagDemoAndAssistUtil()).initData();
			} catch (Exception e) {
				e.printStackTrace();
			}
		if (TagDemoAndAssistUtil.assistFile.size() == 0)
			try {
				(new TagDemoAndAssistUtil()).initData();
			} catch (Exception e) {
				e.printStackTrace();
			}
	}
}
